﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebDTO;

namespace WebIService
{
    public interface IJobService:IServiceSupport
    {
        List<JobDTO> GetJobList();//查询Job表数据
        /// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="limit">页码大小</param>
        /// <param name="offset">页码</param>
        /// <returns></returns>
        List<JobDTO> GetPageJobList(int limit, int offset, string Name, string Code, string sort, string Order, ref int rowCount);
        bool Add(string name, string code);
        bool up(string name, string code, string id);
        bool Del(string id);
    }
}
